package com.code.day13String;

public class Test11 {
    public static void main(String[] args) {
        StringBuffer sb = new StringBuffer();
//        StringBuffer sb1  =sb.append("hello");
//        System.out.println(sb);
//        System.out.println(sb1);
//        System.out.println(sb==sb1);

        System.out.println("====================");
//        链式调用
        sb.append("world").append("java").append("javaSE").length();
        System.out.println(sb);
//        翻转
        sb.reverse();
        System.out.println(sb);

    }
}
